home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000169_jaltman2@nyc.rr.com_Tue Dec 10 09:09:56 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  48 lines

  1. Article: 13952 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
  3. From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
  4. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130
  5. X-Accept-Language: en-us, en
  6. MIME-Version: 1.0
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Remote DIR into array?
  9. References: <at385f$8np$1@cpimail.cpicorp.com>
  10. In-Reply-To: <at385f$8np$1@cpimail.cpicorp.com>
  11. Content-Type: text/plain; charset=us-ascii; format=flowed
  12. Content-Transfer-Encoding: 7bit
  13. Lines: 25
  14. Message-ID: <6HfJ9.235717$gB.43015314@twister.nyc.rr.com>
  15. Date: Tue, 10 Dec 2002 06:18:42 GMT
  16. NNTP-Posting-Host: 66.108.138.151
  17. X-Complaints-To: abuse@rr.com
  18. X-Trace: twister.nyc.rr.com 1039501122 66.108.138.151 (Tue, 10 Dec 2002 01:18:42 EST)
  19. NNTP-Posting-Date: Tue, 10 Dec 2002 01:18:42 EST
  20. Organization: Road Runner - NYC
  21. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13952
  22.  
  23. If you are connected to a Kermit SERVER
  24.  
  25.  
  26.    REMOTE QUERY KERMIT files(<pattern>)
  27.  
  28.    ; \v(query) will now contain the number of files that match the pattern
  29.  
  30.    ASSIGN foo \v(query)
  31.    FOR \%i 1 \m(foo) 1 {
  32.      REMOTE QUERY KERMIT nextfile()
  33.      ; \v(query) now has a filename
  34.      ECHO \v(query)
  35.    }
  36.  
  37. Derek Chen-Becker wrote:
  38. > Hi,
  39. >     I was wondering if there's an easy way to get a remote directory 
  40. > listing into an array. I was hoping that the /array switch would work 
  41. > for RDIR, but it didn't seem to work.
  42. > Thanks,
  43. > Derek
  44.  
  45.